<template>
  <div class="banner">
    <img src="../assets/bannerimg.png" alt="" width="100%" height="100%">
  </div>
</template>

<script>
import {banner_list} from "../api/index2"

export default {
    name:"Banner",
    data(){
      return{
        bannerlist:[]
      }
    },
    components:{},
    mounted(){
      banner_list().then((res)=>{
       this.bannerlist = res.data.list
      })
    }
}
</script>

<style lang="css" scoped>
.banner{
    margin: 10px;
    /* background-color: blue; */
    height: 80px;
    
}
.banner img{
  border-radius: 7px;
}
</style>